<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link href="/js/wangeditor/css/style.css" rel="stylesheet">
<style>

    .layui-upload-colse {
        position: relative;
    }

    .closeUpload {
        position: absolute;
        top: 0;
        right: 0;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .upImg {
        width: 80px;
        height: 80px;
    }

    .formfixed {
        position: relative;
    }

    .remove {
        position: absolute;
        top: 125%;
        right: -60px;
        width: 60px;
        transform: translateY(-50%);
        cursor: pointer;
    }

    .myheader {
        height: 140px;
        background-color: #FFFFFF;
        padding: 20px 0;
        display: flex;
        align-items: center;
        margin: 0;
        flex-wrap: wrap;
    }

    .layui-tab {

        overflow: auto;
        background-color: #FFFFFF;
        margin: 10px 0 0 0;
    }

    .layui-input-block1 {
        display: flex;
        align-items: center;
        justify-content: flex-start
    }
    .layui-tab-title{
        height: 40px!important;
    }
    .layui-tab-content{
        height: calc(100% - 40px);
        overflow: auto;
    }

    /*富文本*/
    #consumerNotice—wrapper{
        border: 1px solid #ccc;
        z-index: 999; /* 按需定义 */
        height: 200px;
    }
    #toolbar-consumerNotice{
        height: auto;
    }
    #editor-consumerNotice{
    height: calc(100% - 40px)!important
    }
    .layui-form-select>.layui-anim{
        z-index: 1000;
    }
</style>
<body>
<input id="inputType" th:value="${type}" style="display: none">
<input id="userId" th:value="${userId}" style="display: none">
<input id="sysUserid" th:value="${sysUserid}" style="display: none">
<input id="inforType" th:value="${inforType}" style="display: none">
<input id="lifePhotos" th:value="${lifePhotos?.length}" style="display: none">
<input id="lifePhotosString" th:value="${lifePhotos?.length>0?#strings.arrayJoin(lifePhotos, ','):''}" style="display: none">
<input id="certificates" th:value="${certificates?.length}" style="display: none">
<input id="certificatesString" th:value="${certificates?.length>0?#strings.arrayJoin(certificates,','):''}" style="display: none">
<input id="reports" th:value="${reports?.length>0?#strings.arrayJoin(reports,','):''}" style="display: none">
<input id="noCrimes" th:value="${noCrimes?.length>0?#strings.arrayJoin(noCrimes,','):''}" style="display: none">
<div class="layui-fluid mt2" style="background-color: #f0f2f5">
    <form class="layui-form" style="height: 100%;">
        <div class="layui-form-item myheader" th:if="${type!='infor'}">
            <div class="layui-inline">
                <label class="layui-form-label required">姓名</label>
                <div class="layui-input-block">
                    <input type="text" name="name" lay-verify="name" autocomplete="off" placeholder="请输入"
                           th:value="${myData?.userDO?.name}"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label required">电话号码</label>
                <div class="layui-input-block">
                    <input type="text" maxlength="11" name="phone" lay-verify="phone" autocomplete="off"
                           th:value="${myData?.userDO?.orderPhone}"
                           placeholder="请输入手机号码" class="layui-input">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">推荐人</label>
                <div class="layui-input-block">
                    <input type="text" name="referee" lay-verify="referee" autocomplete="off" placeholder="请输入"
                           th:value="${myData?.userDO?.referee}"
                           class="layui-input">
                </div>
            </div>
<!--            <div class="layui-inline pull-right">-->
<!--                <label class="layui-form-label">是否启用</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="checkbox" name="enableStatus"-->
<!--                           th:checked="${myData?.jazUserAuntDO?.enableStatus==1}"-->
<!--                           title="开|关" lay-skin="switch" lay-filter="switchTest">-->
<!--                </div>-->
<!--            </div>-->
        </div>
        <div class="layui-form-item myheader" th:if="${type=='infor'}">
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">姓名</label>
                <div class="layui-input-block layui-input-block1" th:text="${myData?.userDO?.name}">
                </div>
            </div>
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">电话号码</label>
                <div class="layui-input-block layui-input-block1" th:text="${myData?.userDO?.orderPhone}">
                </div>
            </div>
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">当前状态</label>
                <div class="layui-input-block layui-input-block1"
                     th:text="${myData?.jazUserAuntDO?.signingStatus== 0  ? '待上户':'已上户'}">
                </div>
            </div>
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">完成订单数</label>
                <div class="layui-input-block layui-input-block1" th:text="${myData?.jazUserAuntDO?.orderCount}">
                </div>
            </div>
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">加入时间</label>
                <div class="layui-input-block layui-input-block1"
                     th:text="${myData.jazUserAuntDO.createTime} eq null ? '' : ${#dates.format(myData?.jazUserAuntDO?.createTime, 'yyyy-MM-dd HH:mm:ss')}">
                </div>
            </div>
            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">
                <label class="layui-form-label">推荐人</label>
                <div class="layui-input-block layui-input-block1" th:text="${myData?.userDO?.referee}">
                </div>
            </div>
<!--            <div class="layui-inline" style="width: calc((100% - 50px) / 5)">-->
<!--                <label class="layui-form-label">是否启用</label>-->
<!--                <div class="layui-input-block">-->
<!--                    <input type="checkbox" name="enableStatus"-->
<!--                           disabled-->
<!--                           th:checked="${myData?.jazUserAuntDO?.enableStatus==1}"-->
<!--                           title="开|关" lay-skin="switch" lay-filter="switchTest">-->
<!--                </div>-->
<!--            </div>-->

        </div>

        <div class="layui-tab" lay-filter="test-hash" th:style="${inforType=='edit'?'height:calc(100% - 350px)':'height:calc(100% - 254px)'}">
            <ul class="layui-tab-title">
                <li class="layui-this" lay-id="11">基础信息</li>
                <li lay-id="22">工作信息</li>
                <li lay-id="33">照片/证件信息</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">

                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">类型</label>

                            <div class="layui-input-block" th:disabled="${type=='infor'}">
                                <div id="type" th:value="${myData?.jazSysProject}" th:disabled="${type=='infor'}"></div>
                                <!--<select name="type" id="type"></select>-->
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">籍贯</label>
                            <div class="layui-input-block">
                                <input type="text" name="nativePlace" lay-verify="nativePlace" autocomplete="off"
                                       th:placeholder="${type=='infor'?'':'请输入'}"
                                       th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.nativePlace}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">年龄</label>
                            <div class="layui-input-block">
                                <div class="layui-input-group" style="width: 100%">
                                    <input th:disabled="${type=='infor'||type=='add'}" type="text" name="age" id="age"
                                           lay-verify="age" autocomplete="off"
                                           th:placeholder="${type=='infor'?'':'请先输入身份证号码'}"
                                           th:value="${myData?.userDO?.age}"
                                           class="layui-input">
                                    <div class="layui-input-split layui-input-suffix">岁</div>
                                </div>
                            </div>

                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">性别</label>
                            <div class="layui-input-block">
                                <select name="sex" lay-verify="sex" th:disabled="${type=='infor'}">
                                    <option value="" th:text="${type=='infor'?' ':'请选择'}"></option>
                                    <option value="1" th:selected="${myData?.userDO?.sex == 1}">男</option>
                                    <option value="2" th:selected="${myData?.userDO?.sex == 2}">女</option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">生肖</label>
                            <div class="layui-input-block">
                                <select name="zodiac" disabled id="zodiac" lay-verify="zodiac"
                                        th:disabled="${type=='infor'||type=='add'}">
                                    <option value="" th:text="${type=='infor'?' ':'请先输入身份证号码'}"></option>
                                    <option value="鼠" th:selected="${myData?.userDO?.zodiac == '鼠'}">鼠</option>
                                    <option value="牛" th:selected="${myData?.userDO?.zodiac == '牛'}">牛</option>
                                    <option value="虎" th:selected="${myData?.userDO?.zodiac == '虎'}">虎</option>
                                    <option value="兔" th:selected="${myData?.userDO?.zodiac == '兔'}">兔</option>
                                    <option value="龙" th:selected="${myData?.userDO?.zodiac == '龙'}">龙</option>
                                    <option value="蛇" th:selected="${myData?.userDO?.zodiac == '蛇'}">蛇</option>
                                    <option value="马" th:selected="${myData?.userDO?.zodiac == '马'}">马</option>
                                    <option value="羊" th:selected="${myData?.userDO?.zodiac == '羊'}">羊</option>
                                    <option value="猴" th:selected="${myData?.userDO?.zodiac == '猴'}">猴</option>
                                    <option value="鸡" th:selected="${myData?.userDO?.zodiac == '鸡'}">鸡</option>
                                    <option value="狗" th:selected="${myData?.userDO?.zodiac == '狗'}">狗</option>
                                    <option value="猪" th:selected="${myData?.userDO?.zodiac == '猪'}">猪</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">星座</label>
                            <div class="layui-input-block">
                                <select name="constellation" disabled id="constellation" lay-verify="constellation"
                                        th:disabled="${type=='infor'||type=='add'}">
                                    <option value="" th:text="${type=='infor'?' ':'请先输入身份证号码'}"></option>
                                    <option value="水瓶座" th:selected="${myData?.userDO?.constellation == '水瓶座'}">
                                        水瓶座
                                    </option>
                                    <option value="双鱼座" th:selected="${myData?.userDO?.constellation == '双鱼座'}">
                                        双鱼座
                                    </option>
                                    <option value="白羊座" th:selected="${myData?.userDO?.constellation == '白羊座'}">
                                        白羊座
                                    </option>
                                    <option value="金牛座" th:selected="${myData?.userDO?.constellation == '金牛座'}">
                                        金牛座
                                    </option>
                                    <option value="双子座" th:selected="${myData?.userDO?.constellation == '双子座'}">
                                        双子座
                                    </option>
                                    <option value="巨蟹座" th:selected="${myData?.userDO?.constellation == '巨蟹座'}">
                                        巨蟹座
                                    </option>
                                    <option value="狮子座" th:selected="${myData?.userDO?.constellation == '狮子座'}">
                                        狮子座
                                    </option>
                                    <option value="处女座" th:selected="${myData?.userDO?.constellation == '处女座'}">
                                        处女座
                                    </option>
                                    <option value="天秤座" th:selected="${myData?.userDO?.constellation == '天秤座'}">
                                        天秤座
                                    </option>
                                    <option value="天蝎座" th:selected="${myData?.userDO?.constellation == '天蝎座'}">
                                        天蝎座
                                    </option>
                                    <option value="射手座" th:selected="${myData?.userDO?.constellation == '射手座'}">
                                        射手座
                                    </option>
                                    <option value="摩羯座" th:selected="${myData?.userDO?.constellation == '摩羯座'}">
                                        摩羯座
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">婚否</label>
                            <div class="layui-input-block">
                                <select name="maritalStatus" lay-verify="maritalStatus" th:disabled="${type=='infor'}">
                                    <option value="" th:text="${type=='infor'?' ':'请选择'}"></option>
                                    <option value="未婚" th:selected="${myData?.userDO?.maritalStatus == '未婚'}">未婚
                                    </option>
                                    <option value="已婚" th:selected="${myData?.userDO?.maritalStatus == '已婚'}">已婚
                                    </option>
                                </select>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">学历</label>
                            <div class="layui-input-block">
                                <select name="education" lay-verify="education" th:disabled="${type=='infor'}">
                                    <option value="" th:text="${type=='infor'?' ':'请选择'}">请选择</option>
                                    <option value="小学" th:selected="${myData?.userDO?.education == '小学'}">小学
                                    </option>
                                    <option value="初中" th:selected="${myData?.userDO?.education == '初中'}">初中
                                    </option>
                                    <option value="高中" th:selected="${myData?.userDO?.education == '高中'}">高中
                                    </option>
                                    <option value="专科" th:selected="${myData?.userDO?.education == '专科'}">专科
                                    </option>
<!--                                    <option value="大专" th:selected="${myData?.userDO?.education == '大专'}">大专-->
<!--                                    </option>-->
                                    <option value="本科" th:selected="${myData?.userDO?.education == '本科'}">本科
                                    </option>
                                    <option value="本科及以上"
                                            th:selected="${myData?.userDO?.education == '本科及以上'}">本科及以上
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">身高</label>
                            <div class="layui-input-block">
                                <div class="layui-input-group" style="width: 100%">
                                    <input type="text" name="height" lay-verify="height" autocomplete="off"
                                           th:placeholder="${type=='infor'?'':'身高'}" th:disabled="${type=='infor'}"
                                           th:value="${myData?.userDO?.height}"
                                           onkeyup="this.value = (/^0$|^(?:[1-9]\d{0,2}|300)(?:\.\d{0,2})?$/.test(this.value) && parseFloat(this.value) <= 200) ? this.value : this.value.slice(0, -1)"
                                           class="layui-input">
                                    <div class="layui-input-split layui-input-suffix">cm</div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">体重</label>
                            <div class="layui-input-block">
                                <div class="layui-input-group" style="width: 100%">
                                    <input type="text" name="weight" lay-verify="weight" autocomplete="off"
                                           th:placeholder="${type=='infor'?'':'体重'}" th:disabled="${type=='infor'}"
                                           th:value="${myData?.userDO?.weight}"
                                           onkeyup="this.value = (/^0$|^(?:[1-9]\d{0,2}|300)(?:\.\d{0,2})?$/.test(this.value) && parseFloat(this.value) <= 300) ? this.value : this.value.slice(0, -1)"
                                           class="layui-input">
                                    <div class="layui-input-split layui-input-suffix">kg</div>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">银行卡卡号</label>
                            <div class="layui-input-block">
                                <input type="text" name="bankCard" lay-verify="bankCard" autocomplete="off"
                                       th:placeholder="${type=='infor'?'':'请输入银行卡卡号'}" th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.bankCard}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">开户行</label>
                            <div class="layui-input-block">
                                <input type="text" name="openBank" lay-verify="openBank" autocomplete="off"
                                       th:placeholder="${type=='infor'?'':'请输入开户行'}" th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.openBank}"
                                       class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">身份证号</label>
                            <div class="layui-input-block">
                                <input type="text" name="idNumber" lay-verify="idNumber" autocomplete="off"
                                       th:placeholder="${type=='infor'?'':'请输入身份证号'}"
                                       onkeyup="validateBankCard(this)" th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.idNumber}"
                                       class="layui-input">
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">身份证地址</label>
                            <div class="layui-input-block">
                                <input type="text" name="idCardAddress" lay-verify="detailedAddress" autocomplete="off"
                                       th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.idCardAddress}"
                                       th:placeholder="${type=='infor'?'':'请输入身份证地址'}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">现住址</label>
                            <div class="layui-input-block">
                                <input type="text" name="detailedAddress" lay-verify="detailedAddress"
                                       autocomplete="off" th:disabled="${type=='infor'}"
                                       th:value="${myData?.userDO?.detailedAddress}"
                                       th:placeholder="${type=='infor'?'':'请输入现住址'}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">标签</label>
                            <div class="layui-input-block" th:disabled="${type=='infor'}">
                                <div id="tips" th:if="${type!='add' && myData?.jazSysLabelDO!=null && myData?.jazSysLabelDO?.size()>0}" th:value="${#strings.arrayJoin(myData?.jazSysLabelDO?.![describe],',')}" th:disabled="${type=='infor'}"></div>
                                <div id="tips" th:if="${type!='add' && (myData?.jazSysLabelDO==null || myData?.jazSysLabelDO?.size()==0)}" th:value="''" th:disabled="${type=='infor'}"></div>
                                <div id="tips" th:if="${type=='add'}" th:value="''" th:disabled="${type=='infor'}"></div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline myIshowDiv" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">首页展示</label>
                            <div class="layui-input-block">
                                <input type="checkbox" name="enableHome" id="enableHome"
                                       th:checked="${myData?.jazUserAuntDO?.enableHome==0}"
                                       th:disabled="${type=='infor'}"
                                       title="开|关" lay-skin="switch" lay-filter="switchTest">
                            </div>
                        </div>
                        <div class="layui-inline myIshowDiv" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">首页优先级</label>
                            <div class="layui-input-block">
                                <input type="text" id="homeOrder" name="homeOrder" lay-verify="detailedAddress"
                                       autocomplete="off"
                                       onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                       th:value="${myData?.userDO?.homeOrder}"
                                       th:disabled="${type=='infor'||type=='add'}"
                                       th:placeholder="${type=='infor'?'':'请先启用首页展示在输入首页优先级'}" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">列表优先级</label>
                            <div class="layui-input-block">
                                <input type="text" name="listOrder" lay-verify="detailedAddress" autocomplete="off"
                                       onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')"
                                       th:value="${myData?.userDO?.listOrder}"
                                       th:disabled="${type=='infor'}"
                                       th:placeholder="${type=='infor'?'':'请输入列表优先级'}" class="layui-input">
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">自我介绍</label>
                        <div class="layui-input-block">
                            <textarea name="introduction" th:placeholder="${type=='infor'?'':'请输入自我介绍'}" lay-verify="introduction"
                                      th:disabled="${type=='infor'}"
                                      th:utext="${myData?.jazUserAuntDO?.introduction}"
                                      class="layui-textarea"></textarea>
                        </div>
                    </div>

                </div>
                <div class="layui-tab-item">

                    <div class="layui-form-item">
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">是否驻家</label>
                            <div class="layui-input-block">
                                <select name="residentHome" lay-verify="residentHome" th:disabled="${type=='infor'}"
                                >
                                    <option value="" th:text="${type=='infor'?' ':'请选择'}"></option>
                                    <option value="0" th:selected="${myData?.jazUserAuntDO?.residentHome == 0}">是
                                    </option>
                                    <option value="1" th:selected="${myData?.jazUserAuntDO?.residentHome == 1}">否
                                    </option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">工资</label>
                            <div class="layui-input-block">
<!--                                <input type="text" name="desireSalary" id="desireSalary" lay-verify="desireSalary" autocomplete="off"-->
<!--                                       th:disabled="${type=='infor'}"-->
<!--                                       th:value="${myData?.jazUserAuntDO?.desireSalary}"-->
<!--                                       th:placeholder="${type=='infor'?'':'请输入期望工资'}" class="layui-input">-->
                                <select lay-affix="clear" lay-search=""
                                        name="desireSalary" id="desireSalary" lay-verify="desireSalary"
                                        th:disabled="${type=='infor'}"
                                        th:attr="myValue=${myData?.jazUserAuntDO?.desireSalary}">
                                    <option value="">请等待数据加载</option>
                                </select>


                            </div>
                        </div>
                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">
                            <label class="layui-form-label">经验</label>
                            <div class="layui-input-block layui-input-group">
                                <input type="text"  name="workExperience" id="workExperience" lay-verify="workExperience" autocomplete="off"
                                       disabled
                                       th:value="${myData?.jazUserAuntDO?.workExperience}"
                                       th:placeholder="${type=='infor'?'':'请输入工作经历'}" class="layui-input">
                                <div class="layui-input-split layui-input-suffix">
                                    年
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item" style="height: 250px;">
                        <label class="layui-form-label">个人技能</label>

                        <div class="layui-input-block" id="consumerNotice—wrapper">
                            <input th:value="${myData?.jazUserAuntDO?.skill}" id="consumerNotice" style="display: none">
                            <div id="toolbar-consumerNotice"><!-- 工具栏 --></div>
                            <div id="editor-consumerNotice"><!-- 编辑器 --></div>
                        </div>
                        <!--                        <div class="layui-input-block">-->
<!--                            <textarea name="skill" th:placeholder="${type=='infor'?'':'请输入个人技能'}" lay-verify="skill"-->
<!--                                      th:disabled="${type=='infor'}"-->
<!--                                      th:text="${myData?.jazUserAuntDO?.skill}"-->
<!--                                      class="layui-textarea"></textarea>-->
<!--                        </div>-->
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">工作经历</label>
                        <div class="layui-input-block" th:if="${type=='add'}">
                            <div class="parseInset" style="overflow: hidden;">
                                <div style="overflow: hidden;margin-bottom: 10px">
                                    <div class="layui-form-item formfixed">
                                        <div class="taskName col-sm-6" style="padding-left: 0">
                                            <input class="form-control startTime" type="text"
                                                   mydata="0"
                                                   placeholder="请输入工作开始时间">
                                        </div>
                                        <div class="taskScore col-sm-6" style="padding: 0">
                                            <input class="form-control endTime" type="text"
                                                   mydata="0"
                                                   placeholder="请输入工作结束时间">
                                        </div>
                                    </div>
                                    <div class="taskDesc col-sm-12" style="padding: 0">
                            <textarea name="description" class="form-control description" type="text"
                                      placeholder="请输入工作描述"></textarea>
                                    </div>
                                </div>

                                <div id="addBox"></div>

                            </div>
                            <div class="col-12" style="text-align: center;margin-top: 20px;" id="addList"><span
                                    style="cursor: pointer;">添加</span></div>
                        </div>
                        <div class="layui-input-block" th:if="${type!='add'}">
                            <div class="parseInset" style="overflow: hidden;">
                                <div style="overflow: hidden;margin-bottom: 10px">
                                    <div class="layui-form-item formfixed">
                                        <div class="taskName col-sm-6" style="padding-left: 0">
                                            <input class="form-control startTime"
                                                   th:disabled="${type=='infor'}"
                                                   th:value="${null!=experiences?experiences[0]?.startTime:''}"
                                                   mydata="0"
                                                   type="text" th:placeholder="${type=='infor'?'':'请输入工作开始时间'}">
                                        </div>
                                        <div class="taskScore col-sm-6" style="padding: 0">
                                            <input class="form-control endTime"
                                                   th:disabled="${type=='infor'}"
                                                   th:value="${null!=experiences?experiences[0]?.endTime:''}"
                                                   mydata="0"
                                                   type="text" th:placeholder="${type=='infor'?'':'请输入工作结束时间'}">
                                        </div>
                                    </div>
                                    <div class="taskDesc col-sm-12" style="padding: 0">
                                    <textarea name="description" class="form-control description" type="text"
                                              th:disabled="${type=='infor'}"
                                              th:utext="${null!=experiences?experiences[0]?.describe:''}"
                                              th:placeholder="${type=='infor'?'':'请输入工作描述'}"></textarea>
                                    </div>
                                </div>

                                <div id="addBox">
                                    <div style="margin-bottom: 10px;display: table;width: calc(100% - 50px);"
                                         class="newSet"
                                         th:each="experienceItem, iterStat : ${experiences}" th:if="${iterStat.index > 0}"
                                    >
                                        <div class="layui-form-item formfixed">
                                            <div class="taskName col-sm-6" style="padding-left: 0">
                                                <input class="form-control startTime" type="text"
                                                       th:disabled="${type=='infor'}"
                                                       th:value="${experienceItem?.startTime}"
                                                       th:mydata="${iterStat.index}"
                                                       th:placeholder="${type=='infor'?'':'请输入工作开始时间'}">
                                            </div>
                                            <div class="taskScore col-sm-6" style="padding: 0">
                                                <input class="form-control endTime" type="text"
                                                       th:disabled="${type=='infor'}"
                                                       th:value="${experienceItem?.endTime}"
                                                       th:mydata="${iterStat.index}"
                                                       th:placeholder="${type=='infor'?'':'请输入工作结束时间'}">
                                            </div>
                                            <div class="remove col-sm-2" th:if="${type!='infor'}">删除</div>
                                        </div>
                                        <div class="taskDesc col-sm-12" style="padding: 0">
                                            <textarea name="description" class="form-control description" type="text"
                                                      th:disabled="${type=='infor'}"
                                                      th:utext="${experienceItem?.describe}"
                                                      th:placeholder="${type=='infor'?'':'请输入工作描述'}"></textarea>
                                        </div>
                                    </div>

                                </div>

                            </div>
                            <div th:if="${type!='infor'}" class="col-12" style="text-align: center;margin-top: 20px;"
                                 id="addList"><span
                                    style="cursor: pointer;">添加</span></div>
                        </div>
                    </div>

                </div>
                <div class="layui-tab-item">

                    <div class="layui-form-item">
                        <label class="layui-form-label">寸照</label>
                        <div class="layui-input-block">
                            <div class="layui-upload-list" id="inchPhoto">
                                <div class="layui-inline" th:if="${type!='add'&&myData?.jazUserAuntDO?.inchPhoto!=''&&myData?.jazUserAuntDO?.inchPhoto!=null}">
                                    <img class="upImg" th:src="${myData?.jazUserAuntDO?.inchPhoto}">
                                    <img class="closeUpload" src="/img/close.png" th:if="${type!='infor'}"  data-id="inchPhoto" data-index="0">
                                </div>
                            </div>
                            <button type="button" class="layui-btn uploadSend" th:if="${type!='infor'}"
                                    lay-data="{url: '/common/sysFile/upload',id:'inchPhoto',number:1}">上传图片
                            </button>
                        </div>
                        <input type="hidden" name="inchPhoto" th:value="${myData?.jazUserAuntDO?.inchPhoto}" lay-verify="inchPhoto">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">身份证正面</label>
                        <div class="layui-upload-list" id="idPhotoFront">
                            <div class="layui-inline"  th:if="${type!='add'&&myData?.jazUserAuntDO?.idPhotoFront!=''&&myData?.jazUserAuntDO?.idPhotoFront!=null}">
                                <img class="upImg" th:src="${myData?.jazUserAuntDO?.idPhotoFront}">
                                <img class="closeUpload" th:if="${type!='infor'}" src="/img/close.png" data-id="idPhotoFront" data-index="0">
                            </div>

                        </div>
                        <div class="layui-input-block">
                            <button type="button" th:if="${type!='infor'}" class="layui-btn uploadSend"
                                    lay-data="{url: '/common/sysFile/upload',id:'idPhotoFront',number:1}">上传图片
                            </button>
                        </div>
                        <input type="hidden" th:value="${myData?.jazUserAuntDO?.idPhotoFront}" name="idPhotoFront" lay-verify="idPhotoFront">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">身份证反面</label>

                        <div class="layui-upload-list" id="idPhotoSide">
                            <div class="layui-inline" th:if="${type!='add' && myData?.jazUserAuntDO?.idPhotoSide!=''&&myData?.jazUserAuntDO?.idPhotoSide!=null}" >
                                <img class="upImg" th:src="${myData?.jazUserAuntDO?.idPhotoSide}">
                                <img class="closeUpload" th:if="${type!='infor'}"  src="/img/close.png" data-id="idPhotoSide" data-index="0">
                            </div>

                        </div>
                        <div class="layui-input-block">
                            <button type="button" th:if="${type!='infor'}"  class="layui-btn uploadSend"
                                    lay-data="{url: '/common/sysFile/upload',id:'idPhotoSide',number:1}">上传图片
                            </button>
                        </div>
                        <input type="hidden"th:value="${myData?.jazUserAuntDO?.idPhotoSide}"  name="idPhotoSide" lay-verify="idPhotoSide">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">工作/生活照</label>

                        <div class="layui-upload-list" id="lifePhoto">

                            <div class="layui-inline" th:if="${type!='add'}"
                                 th:each="lifePhotosItem,iterStat : ${lifePhotos}" >
                                <img class="upImg" th:src="${lifePhotosItem}">
                                <img class="closeUpload" th:attr="data-index=${iterStat.index},data-id=${'lifePhoto'}" th:if="${type!='infor'}" src="/img/close.png"  data-id="lifePhoto">
                            </div>


                        </div>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn uploadSend" th:if="${type!='infor'}"
                                    lay-data="{url: '/common/sysFile/upload',id:'lifePhoto',number:12,min:6}">上传图片
                            </button>
                        </div>
                        <input type="hidden" th:if="type=='add'" name="lifePhoto" lay-verify="lifePhoto">
                        <input type="hidden" th:if="type!='add'" th:value="${myData?.jazUserAuntDO?.lifePhoto}" name="lifePhoto" lay-verify="lifePhoto">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">技能证书</label>

                        <div class="layui-upload-list" id="certificate">
                            <div class="layui-inline" th:if="${type!='add'}"
                                 th:each="certificateItem,iterStat : ${certificates}" >
                                <img class="upImg" th:src="${certificateItem}">
                                <img class="closeUpload" th:attr="data-index=${iterStat.index},data-id=${'certificate'}" th:if="${type!='infor'}" src="/img/close.png" data-id="certificate">
                            </div>

                        </div>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn uploadSend" th:if="${type!='infor'}"
                                    lay-data="{url: '/common/sysFile/uploadContext',id:'certificate',number:9,min:1}">上传图片
                            </button>
                        </div>
                        <input type="hidden" th:if="type=='add'" name="certificate" lay-verify="certificate">
                        <input type="hidden" th:if="type!='add'" th:value="${myData?.jazUserAuntDO?.certificate}" name="certificate" lay-verify="certificate">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">体检报告</label>

                        <div class="layui-upload-list" id="report">
                            <div class="layui-inline" th:if="${type!='add'}"
                                 th:each="certificateItem,iterStat : ${reports}">
                                <img class="upImg" th:src="${certificateItem}">
                                <img class="closeUpload" th:attr="data-index=${iterStat.index},data-id=${'report'}" th:if="${type!='infor'}" src="/img/close.png" data-id="report">
                            </div>
                        </div>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn uploadSend" th:if="${type!='infor'}"
                                    lay-data="{url: '/common/sysFile/upload',id:'report',number:3}">上传图片
                            </button>
                        </div>
                        <input type="hidden" th:if="type=='add'" name="report" lay-verify="report">
                        <input type="hidden" th:if="type!='add'" th:value="${myData?.jazUserAuntDO?.report}" name="report" lay-verify="report">
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">无犯罪证明</label>

                        <div class="layui-upload-list" id="noCrime">
                            <div class="layui-inline" th:if="${type!='add'}"
                                 th:each="noCrimeItem,iterStat : ${noCrimes}">
                                <img class="upImg" th:src="${noCrimeItem}">
                                <img class="closeUpload" th:attr="data-index=${iterStat.index},data-id=${'noCrime'}" th:if="${type!='infor'}" src="/img/close.png" data-id="noCrime">
                            </div>

                        </div>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn uploadSend" th:if="${type!='infor'}"
                                    lay-data="{url: '/common/sysFile/upload',id:'noCrime',number:3}">上传图片
                            </button>
                        </div>
                        <input type="hidden" th:if="type=='add'" name="noCrime" lay-verify="noCrime">
                        <input type="hidden" th:if="type!='add'" th:value="${myData?.jazUserAuntDO?.noCrime}" name="noCrime" lay-verify="noCrime">
                    </div>

<!--                    <div class="layui-form-item">-->
<!--                        <div class="layui-inline" style="width: calc((100% - 40px) / 3);">-->
<!--                            <label class="layui-form-label">体检日期</label>-->
<!--                            <div class="layui-input-block">-->
<!--                                <input name="checkTime" class="form-control " type="text" id="checkTime"-->
<!--                                       th:disabled="${type=='infor'}"-->
<!--                                       th:value="${myData?.jazUserAuntDO?.checkTime}"-->
<!--                                       placeholder="请输入体检日期">-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->

                </div>
            </div>
        </div>
        <div th:style="${inforType=='infor'||type=='edit'?'height: 145px;background-color: #FFFFFF;':'height: 50px;background-color: #FFFFFF;'}">
            <div class="layui-inline" style="width: calc(100% - 10px);" th:if="${type!='add'&&(aduitEdit==''||aduitEdit=='edit'||type=='edit')}">
                <label class="layui-form-label">审核结果</label>
                <div class="layui-input-block layui-input-block1"
                     th:if="${type=='infor'&&myData?.jazUserAuntDO?.auditResult!=null && myData?.jazUserAuntDO?.auditStatus!=0}"
                     th:text="${myData?.jazUserAuntDO?.auditResult==0?'已通过':'未通过'}">
                </div>
                <div  th:unless="${type=='infor'&&myData?.jazUserAuntDO?.auditResult!=null&& myData?.jazUserAuntDO?.auditStatus!=0}" class="layui-form">
                    <th:block th:if="${ type=='edit'}">
                        <input type="radio" lay-filter="demo-radio-filter" name="auditResult" value="0" title="通过">
                        <input type="radio" lay-filter="demo-radio-filter" name="auditResult" value="1" title="拒绝">
                    </th:block>
                    <th:block th:unless="${ type=='edit'}">
                        <input type="radio" lay-filter="demo-radio-filter" name="auditResult" value="0" title="通过" th:checked="${myData?.jazUserAuntDO?.auditResult==0}">
                        <input type="radio" lay-filter="demo-radio-filter" name="auditResult" value="1" title="拒绝" th:checked="${myData?.jazUserAuntDO?.auditResult==1}">
                    </th:block>
                </div>
                <div class="layui-input-block" th:style="${myData?.jazUserAuntDO?.auditResult==1&&type!='edit'?'display: block':'display: none'}" id="refuseReason">
                            <textarea name="refuseReason" placeholder="请输入拒绝原因" lay-verify="introduction"
                                      th:utext="${type=='edit'?'':(myData?.jazUserAuntDO?.refuseReason)}"
                                      th:disabled="${type=='infor'&&myData?.jazUserAuntDO?.auditResult!=null&& myData?.jazUserAuntDO?.auditStatus!=0}"
                                      class="layui-textarea"></textarea>
                </div>

            </div>
        </div>
        <div class="layui-form-item  layui-flow-more">
            <div class="layui-inline">
                <button type="button" class="layui-btn" lay-submit lay-filter="submit">确认</button>
            </div>
        </div>

    </form>
</div>

<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/xmSelect.js"></script>
<script src="/js/wangeditor/index.js"></script>
<script type="text/javascript" src="/js/webJs/jzweb/jazUserAunt/add.js?r=12"></script>
</body>
</html>